<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/23
  Time: 15:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<style type="text/css">

    .title1style{
        font-family: Helvetica ;
        font-size: 6em;
        color:blue;
        text-align: center;
    }
    .title2style{
        font-family: 黑体 ;
        font-size: 2em;
        color: rgba(16, 3, 2, 0.72);
        text-align: center;
    }
    .div1style{
        margin: 0 auto;
        width: 190px;
        font-size: small;
    }
    .button{
        background-color: blue;
        color: yellow;
        width: 190px;
        height: 40px;
    }
    .button2{
        background-color:white;
        color: blue;
        width: 190px;
        height: 40px;
        border-bottom-color: blue;
    }
    input{
        font-size:1em;
        padding: 10px 10px 10px;
        color: rgba(39, 8, 5, 0.92);
    }

    .style2{
        margin: 0  auto;
        width: 350px;
        height: 2em;
    }
    .style3{
        margin:  0 auto;
        width: 190px;
        height: 2em;
        padding: 1em 1em 1em;
    }
    .style4{
        margin:  0 auto;
        width: 190px;
        height: 40px;
        font-family: 黑体;
        font-size: small;
    }
</style>

<meta charset="gb2312">

<title>知乎-与世界分享你的知识、经验和见解</title>
</head>


<%
    String tip=(String) request.getAttribute("tip");
    if(null==tip){
        tip="";
    }
%>



<body background="/blog/image/303945.jpg">


<h1 class="title1style" align="center">知乎</h1>
<h2 class="title2style" align="center">与世界分享你的知识、经验和见解</h2>
<div class="style3" align="center">
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a href="RegisterActivity.jsp">注册</a>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a href="LoginActivity.jsp">登录</a>
</div>
<div class="div1style">
    <form  action="/blog/register.do" method="POST">
        <font color='red'><%=tip%></font> <br>
        <input name="phoneNumber" type="text" size="20" maxlength="20"  placeholder="手机号"><br>
        <input name="name" type="text" size="20" maxlength="20"  placeholder="姓名"><br>
        <input name="password" type="password" size="20" maxlength="20"  placeholder="密码"><br><br>
        <input type="submit" value="注册知乎" class="button"><br>

    </form>
</div>
<div class="style2"><p align="center">点击「注册」按钮，即代表你同意<a href="https://www.zhihu.com/terms">《知乎协议》</a></p></div>
<div class="style4">
    <input name="download" type="button" value="下载知乎APP" class="button2"><br>
</div>
</body>
</html>
